﻿<%@ Page Language="C#" MasterPageFile="~/Manager.master" AutoEventWireup="true" CodeFile="ProductComment.aspx.cs" Inherits="Manager_Product_ProductComment" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%" cellpadding="2" cellspacing="0">
        <tr>
            <td align="left">
                <table border="1" bordercolor="#407db3" cellpadding="2" cellspacing="2" class="tbl_Comon-Search"
                    style="border-collapse: collapse; margin-left: 0px; width: 100%;" width="100%">
                    <tr>
                        <td align="center" nowrap="nowrap" rowspan="2" style="width: 87px" valign="middle">
                            <asp:Button ID="btnSearch" runat="server" CssClass="cssButton" Text="Tìm kiếm" Width="80px"
                                OnClick="btnSearch_Click" /><br />
                            <asp:Button ID="btnBack" runat="server" CssClass="cssButton" Text="Quay lại" Width="80px"
                                OnClick="btnBack_Click" /></td>
                        <td nowrap="nowrap" rowspan="1" style="width: 109px" class="td_Title">
                            <asp:Label ID="Label1" runat="server" CssClass="lbl_Common-Search" Text="Tiêu đề"></asp:Label></td>
                        <td nowrap="nowrap" rowspan="1" class="td_Control">
                            <asp:TextBox ID="txtTitle" runat="server" Height="20px" Width="98%"></asp:TextBox></td>
                        <td nowrap="nowrap" class="td_Title" style="width: 80px">
                            <asp:Label ID="Label2" runat="server" CssClass="lbl_Common-Search" Text="Họ tên"></asp:Label></td>
                        <td nowrap="nowrap" class="td_Control" style="width: 102px">
                            <asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="td_Title" nowrap="nowrap" rowspan="1" style="width: 109px">
                            <asp:Label ID="Label3" runat="server" CssClass="lbl_Common-Search" Text="Nội dung"></asp:Label></td>
                        <td class="td_Control" nowrap="nowrap" rowspan="1" colspan="3">
                            <asp:TextBox ID="txtContent" runat="server" Height="20px" Width="98%"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" colspan="5" nowrap="nowrap" valign="top">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="grv_Master" runat="server" CellPadding="2" BorderColor="#407DB3"
                    BorderWidth="1px" AutoGenerateColumns="False" Width="100%" AllowPaging="True"
                    DataKeyNames="CmPD_ID" PageSize="20" OnRowDataBound="Grv_Product_RowDataBound"
                    OnRowCreated="grv_Master_RowCreated1" OnRowDeleting="grv_Master_RowDeleting1" OnPageIndexChanging="grv_Master_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="lblDelete" runat="server" CommandName="delete" Text="<img src=../../Images/Icon/cmdDelete.gif border=0 alt=Delete > "></asp:LinkButton>
                            </ItemTemplate>
                            <ItemStyle CssClass="cssBorderGrv" HorizontalAlign="Center" Width="2%" />
                            <HeaderStyle CssClass="cssBorderGrv" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                Họ tên
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("CmPD_CusName") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle CssClass="cssBorderGrv" Width="25%" />
                            <HeaderStyle CssClass="cssBorderGrv" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                               Tiêu đề
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label55" runat="server" Text='<%# Eval("CmPD_Title") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle CssClass="cssBorderGrv" Width="20%" />
                            <HeaderStyle CssClass="cssBorderGrv" Wrap="false" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                               Nội dung
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label554" runat="server" Text='<%# Eval("CmPD_Content") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle CssClass="cssBorderGrv" Width="55%" />
                            <HeaderStyle CssClass="cssBorderGrv" />
                        </asp:TemplateField>                        
                    </Columns>
                    <RowStyle CssClass="gvRowStyle" />
                    <AlternatingRowStyle CssClass="gvAlternatingRowStyle" />
                    <HeaderStyle CssClass="gvHeader" />
                </asp:GridView>
            </td>
        </tr>
    </table>

    <script language="javascript" type="text/javascript">

    </script>

</asp:Content>
